﻿/**
* File: TpmusermessageDbModel.cs
* Author: 汪杰
* Create Time:2025/5/7 10:35:34
* Email:15200358008@139.com
* 代码由TMCodeGenerator自动生成
**/
using System;
using SqlSugar;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace JSLCloud.DBModel
{
    /// <summary>
    /// t_pm_usermessage Db Model
    /// </summary>
    [SugarTable("t_pm_usermessage")]
    public class TpmusermessageDbModel
    {
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true , ColumnName = "ID" , IsIdentity = true)]
        public int ID { get; set; }
        
        /// <summary>
        /// 创建人ID
        /// </summary>
        [SugarColumn(ColumnName = "CREATEID")]
        public int? Createid { get; set; }
        
        /// <summary>
        /// 创建人名字
        /// </summary>
        [SugarColumn(ColumnName = "CREATENAME")]
        public string Createname { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "CREATETIME")]
        public DateTime? Createtime { get; set; }
        
        /// <summary>
        /// 修改人ID
        /// </summary>
        [SugarColumn(ColumnName = "UPDATEID")]
        public int? Updateid { get; set; }
        
        /// <summary>
        /// 修改人名字
        /// </summary>
        [SugarColumn(ColumnName = "UPDATENAME")]
        public string Updatename { get; set; }
        
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "UPDATETIME")]
        public DateTime? Updatetime { get; set; }
        
        /// <summary>
        /// 删除标志
        /// </summary>
        [SugarColumn(ColumnName = "DELETEFLAG")]
        public int Deleteflag { get; set; }
        
        /// <summary>
        /// 用户ID
        /// </summary>
        [SugarColumn(ColumnName = "USERID")]
        public int Userid { get; set; }
        
        /// <summary>
        /// 订阅人
        /// </summary>
        [SugarColumn(ColumnName = "USERNAME")]
        public string Username { get; set; }
        
        /// <summary>
        /// 消息类型
        /// </summary>
        [SugarColumn(ColumnName = "MESSAGETYPEID")]
        public int Messagetypeid { get; set; }
        
        /// <summary>
        /// 提醒类型 0 过期前提醒  1过期前连续提醒  2 一直提醒
        /// </summary>
        [SugarColumn(ColumnName = "TXLX")]
        public int Txlx { get; set; }
        
        /// <summary>
        /// 过期前提醒的天数
        /// </summary>
        [SugarColumn(ColumnName = "TXTS")]
        public int? Txts { get; set; }
        /// <summary>
        /// 提前提醒天数
        /// </summary>
        [SugarColumn(ColumnName = "TQTS")]
        public int Tqts { get; set; }
    }
}
